package com.wangmengtao.upms.dao;

import com.wangmengtao.upms.model.UpmsDeptUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName: UpmsOrganizationUserDao
 * @Description: TODO
 * @Author: WangMengtao
 * @Data: 2019/6/5 17:15
 * @Version: 1.0.0
 */
@Mapper
public interface UpmsDeptUserDao extends BaseDao {
    long deleteByUserId(Long id);

    long deleteByDeptId(Long id);

    List<UpmsDeptUser> listByDeptId(Long deptId);
}
